package com.suisung.shopsuite.account.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@Accessors(chain = true)
@TableName("account_user_attestation")
@ApiModel(value = "UserAttestation对象", description = "处方或病例表")
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class UserAttestation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("认证编号")
    @TableId(value = "attestation_id", type = IdType.AUTO)
    private Integer attestationId;

    @ApiModelProperty("用户编号")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("真实姓名")
    @TableField("user_realname")
    private String userRealname;

    @ApiModelProperty("身份证号码")
    @TableField("user_idcard")
    private String userIdcard;

    @ApiModelProperty("身份证正面")
    @TableField("user_idcard_images_front")
    private String userIdcardImagesFront;

    @ApiModelProperty("身份证反面")
    @TableField("user_idcard_images_back")
    private String userIdcardImagesBack;

    @ApiModelProperty("病例图片 多张 ，隔开")
    @TableField("case_images")
    private String caseImages;

    @ApiModelProperty("是否默认(BOOL):0-非默认;1-默认")
    @TableField("ud_is_default")
    private Boolean udIsDefault;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("修改时间")
    @TableField("update_time")
    private Date updateTime;

}
